﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace PaginaWeb.Models
{
    [Table("Marcas")]
    public class Marca
    {
        [Key]
        public int id { get; set; }
        [Required]
        public string nombre { get; set; }
        [Required]
        public string descripcion { get; set; }
        [Required]
        public string foto { get; set; }

        public virtual List<MiProducto> productos { get; set; }
    }
   
}